<h1 class="page_title">系统配送方式</h1>
<h4 class="alert_info">商城支持的物流方式进行配置，自定义运费价格</h4>
<section class="delivery_list">
	<table>
		<tr>
			<th>配送方式</th>
			<th>物流保价</th>
			<th>货到付款</th>
			<th>是否配置</th>
			<th>操作</th>
		</tr>

		{set:$seller_id = $this->seller['seller_id']}
		{set:$page= (isset($_GET['page'])&&(intval($_GET['page'])>0))?intval($_GET['page']):1}
		{query:name=delivery page=$page order=sort  where=is_delete eq 0 and status eq 1 id=$deliveryDB}
		{query:name=delivery_extend where=seller_id eq $seller_id and delivery_id eq $item[id] item=$deliveryExtend items=$data}{/query}
		<tr>
			<td>{$item['name']}</td>
			<td>{if:$item['is_save_price']==1}是{else:}否{/if}</td>
			<td>{if:$item['type']==1}是{else:}否{/if}</td>
			<td>{if:$data}<b class="green">已配置</b>{else:}<b class="red">未配置</b>{/if}</td>
			<td><a class="btn" href="{url:/seller/delivery_edit/id/$item[id]}">配置</a></td>
		</tr>
		{/query}
	</table>
	{$deliveryDB->getPageBar()}
</section>
